﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Web.WebPages.OAuth;
using RoyaleLiving.Models;

namespace RoyaleLiving
{
    public static class AuthConfig
    {
        public static void RegisterAuth()
        {
            // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
            // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166

            OAuthWebSecurity.RegisterMicrosoftClient(
                clientId: "00000000440F4C01",
                clientSecret: "sqN6ZgJHJIUGC6E9F1XJa7htic7aO7o6");

            OAuthWebSecurity.RegisterTwitterClient(
                consumerKey: "qH8KKH3u6nfnCDz4dVjmMA",
                consumerSecret: "g8f4MMu0pu1zk50B8ObcujDTZoZKoG5ZUusvY1xwP1M");

            OAuthWebSecurity.RegisterFacebookClient(
                appId: "289764141158724",
                appSecret: "cf728c84903929556520d63fb3aa9148");

            OAuthWebSecurity.RegisterGoogleClient();

            OAuthWebSecurity.RegisterYahooClient();

        }
    }
}
